From d448bc50c771affad1c9f98207ed328d6efb14b7 Mon Sep 17 00:00:00 2001 From: "br260@br260.wolfson.cam.ac.uk" Date: Wed, 31 Dec 2003 18:59:39 +0000 Subject: [PATCH] bitkeeper revision 1.662 (3ff31c9bCF3X7QcHyzz1dxWr2-8L0w) bug fix --- BitKeeper/etc/logging_ok | 1 + tools/examples/createlinuxdom.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok index da1235fdb0..e750fb487b 100644 --- a/BitKeeper/etc/logging_ok +++ b/BitKeeper/etc/logging_ok @@ -6,6 +6,7 @@ akw27@labyrinth.cl.cam.ac.uk akw27@plucky.localdomain bd240@boulderdash.cl.cam.ac.uk bd240@labyrinth.cl.cam.ac.uk +br260@br260.wolfson.cam.ac.uk br260@labyrinth.cl.cam.ac.uk br260@laudney.cl.cam.ac.uk iap10@freefall.cl.cam.ac.uk diff --git a/tools/examples/createlinuxdom.py b/tools/examples/createlinuxdom.py index e183b422f8..1f54841cd3 100755 --- a/tools/examples/createlinuxdom.py +++ b/tools/examples/createlinuxdom.py @@ -14,7 +14,7 @@ import Xc, XenoUtil, string, sys, os, time, socket # initialize a few variables that might come in handy thishostname = socket.gethostname() guestid = 0 -if sys.argv >= 2: +if len(sys.argv) >= 2: guestid = string.atoi(sys.argv[1]) print "Offset to add to guest's IP etc : %d\n" % guestid -- 2.30.2